#include "../mqserver/mq_channel.hpp"

int main()
{
    mq::ChannelManager::ptr cmp = std::make_shared<mq::ChannelManager>();
    cmp->openChannel("c1",
                    std::make_shared<mq::VirtualHost>("host1","./data/host1/message","./data/host1/meta.db"),
                    mq::ConsumerManager::ptr(),
                    mq::ProtobufCodecPtr(),
                    muduo::net::TcpConnectionPtr(),
                    ThreadPool::ptr()
        );

        
    return 0;
}